#include<iostream>


using namespace std;

int main() {
	for (int a = 6; a <=30; a++)
	{
		for (int b =15; b <= 36; b++)
		{
			if ((2 * a + 5 * b) == 126) {
				cout << "(" << a << "," << b << ")" << endl;
			}
		}
	}
	return 0;
}